#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>

class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    MyPushButton(QString normalImg,QString pressImg="");
    QString normalPath;
    QString pressPath;
    //向下跳
    void zoom1();
    //向上跳
    void zoom2();

    //鼠标摁下事件
    void mousePressEvent(QMouseEvent*e);
    //鼠标释放事件
    void mouseRleaseEvent(QMouseEvent*e);

signals:
};

#endif // MYPUSHBUTTON_H
